package com.rdzn.mall.portal.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.rdzn.mall.center.entity.PmsProduct;
import com.rdzn.mall.portal.domain.PmsPortalProductDetail;
import com.rdzn.mall.portal.domain.Product;

import java.util.List;

public interface IProductService {

    PmsPortalProductDetail getDetail(Integer id);

    List<PmsProduct> listProductsByCategory(Integer categoryId);

    IPage<Product> pageList(PmsProduct pmsProduct, Integer pageNo, Integer pageSize, QueryWrapper<PmsProduct> queryWrapper );
}
